//
//  NYSView.h
//  NYS
//
//  Created by niyongsheng.github.io on 2021/8/9.
//  Copyright © 2021 NYS. ALL rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^NYSExcDescBlock)(NSString *code, NSString *merchantCode,NSString *accountType);
typedef void (^NYSExcDescBlockReturn)(NSString *typeStr);

@interface NYSExcDescView : UIView

@property (nonatomic, strong) NSString *code;
@property (nonatomic, assign) NSInteger bindCardStatus;
@property (nonatomic, strong) NSString *hatBindCardStatus;
@property (nonatomic, strong) NSString *gdBindCardStatus;
@property (nonatomic, strong) NSString *ifBind;
@property (nonatomic, strong) NYSExcDescBlock block;
@property (nonatomic, copy) NYSExcDescBlockReturn returnBlock;

- (instancetype)initWithFrame:(CGRect)frame upcode:(NSString *)code;

- (void)updateData:(id)data;
@end

